home *** CD-ROM | disk | FTP | other *** search
- /*
-
- $VER: Action.RO 0.1
-
- Author:
- Oliver Rummeyer (oliver.rummeyer@student.uni-ulm.de)
-
- Function:
- Starts a fileaction for the specified file.
- If RO is not running it's loaded automatically.
-
- Requires:
- RO 0.90 or newer in the AmigaDOS search path
-
- Example:
- Rx >NIL: REXX:Action.RO S:Startup-Sequence
-
- */
-
- PARSE ARG FileName
-
- IF ~SHOW('Ports','RO.1') THEN
- DO
-
- ADDRESS 'COMMAND' 'Run >NIL: RO ICONIFY'
- ADDRESS 'COMMAND' 'WaitForPort RO.1'
-
- IF ~SHOW('Ports','RO.1') THEN
- DO
- EXIT 10
- END
- END
-
- ADDRESS 'RO.1'
- OPTIONS RESULTS
-
- 'Sleep'
-
- 'FileAction '||FileName
-
- 'Wakeup'
-